package org.ch00.test04.demo07.demo3;

import java.util.Random;

/**
 * @author CSY
 * @date 2025 - 03 - 04
 */
public class TianShi {
    public void zhuoYao(BiXie bx) {
        bx.biXie();
        int status = new Random().nextInt(10);
        if(status > 7){
            System.out.println("捉妖成功!");
        }else{
            System.out.println("捉妖成功!");
        }

    }
}
